package com.totem.customer.serivce;

import com.baomidou.mybatisplus.extension.service.IService;
import com.totem.base.model.PageVO;
import com.totem.customer.model.TCustomers;
import com.totem.customer.vo.CustomerPageVO;
import com.totem.customer.vo.CustomerVO;

import javax.validation.constraints.NotEmpty;

public interface ITCustomerService extends IService<TCustomers> {
    boolean createRandomCustomer(int count);
    TCustomers findByNickname(@NotEmpty String nickname);

    boolean createCustomer(TCustomers tCustomers);

    String defaultPassword();

    PageVO<CustomerVO> page(CustomerPageVO vo);
}
